import {Base} from "@/utils/base.js"
class Video extends Base{
	//直播列表
	list(param, callback) {
		
		var params = {
		  url:'live/index',
		  data:param,
		  method:'get',
		  sCallback:function(data){
			callback && callback(data);
		  }
		}
		this.request(params);
	}
	//直播分类
	category(param, callback) {
		http.get('live-category/list', param).then(data => {
			callback && callback(data);
		});
	}
};

export {
	Video
};
